package cc.greencat.gcmall.product.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;

/**
 * spu信息
 * 
 * @author greencat.cc
 * @email greencatcc@163.com
 * @date 2021-01-23 21:48:19
 */
@TableName("product_spu_info")
public class SpuInfoEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 商品id
	 */
    @TableId
    private Long id;
	/**
	 * 商品名称
	 */
    private String spuName;
	/**
	 * 商品描述
	 */
    private String spuDescription;
	/**
	 * 所属分类id
	 */
    private Long catalogId;
	/**
	 * 品牌id
	 */
    private Long brandId;
	/**
	 * 
	 */
    private BigDecimal weight;
	/**
	 * 上架状态[0 - 下架，1 - 上架]
	 */
    private Integer publishStatus;
	/**
	 * 
	 */
    private Date createTime;
	/**
	 * 
	 */
    private Date updateTime;

	/**
	 * set 商品id
	 */
    public void setId(Long id){
        this.id = id;
    }
    /**
	 * get 商品id
	 */
    public Long getId(){
        return this.id;
    }
	/**
	 * set 商品名称
	 */
    public void setSpuName(String spuName){
        this.spuName = spuName;
    }
    /**
	 * get 商品名称
	 */
    public String getSpuName(){
        return this.spuName;
    }
	/**
	 * set 商品描述
	 */
    public void setSpuDescription(String spuDescription){
        this.spuDescription = spuDescription;
    }
    /**
	 * get 商品描述
	 */
    public String getSpuDescription(){
        return this.spuDescription;
    }
	/**
	 * set 所属分类id
	 */
    public void setCatalogId(Long catalogId){
        this.catalogId = catalogId;
    }
    /**
	 * get 所属分类id
	 */
    public Long getCatalogId(){
        return this.catalogId;
    }
	/**
	 * set 品牌id
	 */
    public void setBrandId(Long brandId){
        this.brandId = brandId;
    }
    /**
	 * get 品牌id
	 */
    public Long getBrandId(){
        return this.brandId;
    }
	/**
	 * set 
	 */
    public void setWeight(BigDecimal weight){
        this.weight = weight;
    }
    /**
	 * get 
	 */
    public BigDecimal getWeight(){
        return this.weight;
    }
	/**
	 * set 上架状态[0 - 下架，1 - 上架]
	 */
    public void setPublishStatus(Integer publishStatus){
        this.publishStatus = publishStatus;
    }
    /**
	 * get 上架状态[0 - 下架，1 - 上架]
	 */
    public Integer getPublishStatus(){
        return this.publishStatus;
    }
	/**
	 * set 
	 */
    public void setCreateTime(Date createTime){
        this.createTime = createTime;
    }
    /**
	 * get 
	 */
    public Date getCreateTime(){
        return this.createTime;
    }
	/**
	 * set 
	 */
    public void setUpdateTime(Date updateTime){
        this.updateTime = updateTime;
    }
    /**
	 * get 
	 */
    public Date getUpdateTime(){
        return this.updateTime;
    }

}
